// Package custom
// @Author Spume
// @Date 2024-12-19 10:21

package custom

import (
	"github.com/WeixinCloud/wxcloudrun-wxcomponent/middleware"
	"github.com/gin-gonic/gin"
)

// Routers 路由
func Routers(e *gin.RouterGroup) {
	//g := e.Group("/inner", middleware.InnerServiceMiddleWare)
	g := e.Group("/custom", middleware.JWTMiddleWare)

	g.POST("/modify-server-domain", modifyServerDomainHandler)
	g.POST("/modify-jump-domain", modifyJumpDomainHandler)

	g.GET("/getTemplatedRaftList", getTemplatedRaftListHandler)
	g.POST("/addToTemplate", addToTemplateHandler)
	g.POST("/deleteTemplate", deleteTemplateHandler)

	g.POST("/setPrivacySetting", setPrivacySettingHandler)
	g.POST("/getPrivacySetting", getPrivacySettingHandler)
}
